package com.hand.springcloud.mapper;


import com.hand.springcloud.entities.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ Description   :  Mapper接口
 * @ Author        :  xiong.yilin@hand-china.com
 * @ CreateDate    :  2019/9/6 11:56
 */
@Mapper
public interface ProductMapper {

    Product findById(Long pid);

    List<Product> findAll();

    boolean addProduct(Product product);
}
